---
layout: "default"
title: "Operator: =="
description: "Swift documentation for the '==' operator."
root: "/v1.2"
---

<code class="language-swift">infix operator == {
    associativity none
    precedence 130
}</code>

<h3>Declarations</h3>

<div class="declaration" id="func-eqeq_-bit-rhs_-bit">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-bit-rhs_-bit">func ==(<wbr>_:<wbr> Bit, rhs: Bit)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-bit-rhs_-bit"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Bit, rhs: Bit) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-bool-rhs_-bool">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-bool-rhs_-bool">func ==(<wbr>_:<wbr> Bool, rhs: Bool)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-bool-rhs_-bool"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Bool, rhs: Bool) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-copaquepointer-rhs_-copaquepointer">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-copaquepointer-rhs_-copaquepointer">func ==(<wbr>_:<wbr> COpaquePointer, rhs: COpaquePointer)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-copaquepointer-rhs_-copaquepointer"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: COpaquePointer, rhs: COpaquePointer) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-character-rhs_-character">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-character-rhs_-character">func ==(<wbr>_:<wbr> Character, rhs: Character)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-character-rhs_-character"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Character, rhs: Character) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-double-rhs_-double">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-double-rhs_-double">func ==(<wbr>_:<wbr> Double, rhs: Double)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-double-rhs_-double"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Double, rhs: Double) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-float-rhs_-float">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-float-rhs_-float">func ==(<wbr>_:<wbr> Float, rhs: Float)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-float-rhs_-float"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Float, rhs: Float) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-float80-rhs_-float80">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-float80-rhs_-float80">func ==(<wbr>_:<wbr> Float80, rhs: Float80)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-float80-rhs_-float80"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Float80, rhs: Float80) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-floatingpointclassification-rhs_-floatingpointclassification">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-floatingpointclassification-rhs_-floatingpointclassification">func ==(<wbr>_:<wbr> FloatingPointClassification, rhs: FloatingPointClassification)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-floatingpointclassification-rhs_-floatingpointclassification"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: FloatingPointClassification, rhs: FloatingPointClassification) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-int-rhs_-int">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-int-rhs_-int">func ==(<wbr>_:<wbr> Int, rhs: Int)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-int-rhs_-int"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Int, rhs: Int) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-int8-rhs_-int8">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-int8-rhs_-int8">func ==(<wbr>_:<wbr> Int8, rhs: Int8)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-int8-rhs_-int8"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Int8, rhs: Int8) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-int16-rhs_-int16">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-int16-rhs_-int16">func ==(<wbr>_:<wbr> Int16, rhs: Int16)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-int16-rhs_-int16"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Int16, rhs: Int16) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-int32-rhs_-int32">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-int32-rhs_-int32">func ==(<wbr>_:<wbr> Int32, rhs: Int32)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-int32-rhs_-int32"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Int32, rhs: Int32) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-int64-rhs_-int64">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-int64-rhs_-int64">func ==(<wbr>_:<wbr> Int64, rhs: Int64)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-int64-rhs_-int64"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: Int64, rhs: Int64) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-string-rhs_-string">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-string-rhs_-string">func ==(<wbr>_:<wbr> String, rhs: String)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-string-rhs_-string"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: String, rhs: String) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-string-index-rhs_-string-index">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-string-index-rhs_-string-index">func ==(<wbr>_:<wbr> String.Index, rhs: String.Index)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-string-index-rhs_-string-index"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: String.Index, rhs: String.Index) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-string-utf8view-index-rhs_-string-utf8view-index">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-string-utf8view-index-rhs_-string-utf8view-index">func ==(<wbr>_:<wbr> String.UTF8View.Index, rhs: String.UTF8View.Index)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-string-utf8view-index-rhs_-string-utf8view-index"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: String.UTF8View.Index, rhs: String.UTF8View.Index) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-string-utf16view-index-rhs_-string-utf16view-index">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-string-utf16view-index-rhs_-string-utf16view-index">func ==(<wbr>_:<wbr> String.UTF16View.Index, rhs: String.UTF16View.Index)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-string-utf16view-index-rhs_-string-utf16view-index"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: String.UTF16View.Index, rhs: String.UTF16View.Index) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-string-unicodescalarview-index-rhs_-string-unicodescalarview-index">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-string-unicodescalarview-index-rhs_-string-unicodescalarview-index">func ==(<wbr>_:<wbr> String.UnicodeScalarView.Index, rhs: String.UnicodeScalarView.Index)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-string-unicodescalarview-index-rhs_-string-unicodescalarview-index"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: String.UnicodeScalarView.Index, rhs: String.UnicodeScalarView.Index) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-uint-rhs_-uint">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-uint-rhs_-uint">func ==(<wbr>_:<wbr> UInt, rhs: UInt)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-uint-rhs_-uint"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: UInt, rhs: UInt) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-uint8-rhs_-uint8">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-uint8-rhs_-uint8">func ==(<wbr>_:<wbr> UInt8, rhs: UInt8)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-uint8-rhs_-uint8"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: UInt8, rhs: UInt8) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-uint16-rhs_-uint16">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-uint16-rhs_-uint16">func ==(<wbr>_:<wbr> UInt16, rhs: UInt16)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-uint16-rhs_-uint16"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: UInt16, rhs: UInt16) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-uint32-rhs_-uint32">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-uint32-rhs_-uint32">func ==(<wbr>_:<wbr> UInt32, rhs: UInt32)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-uint32-rhs_-uint32"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: UInt32, rhs: UInt32) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-uint64-rhs_-uint64">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-uint64-rhs_-uint64">func ==(<wbr>_:<wbr> UInt64, rhs: UInt64)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-uint64-rhs_-uint64"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: UInt64, rhs: UInt64) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-unicodescalar-rhs_-unicodescalar">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-unicodescalar-rhs_-unicodescalar">func ==(<wbr>_:<wbr> UnicodeScalar, rhs: UnicodeScalar)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-unicodescalar-rhs_-unicodescalar"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(lhs: UnicodeScalar, rhs: UnicodeScalar) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq_-objectidentifier-y_-objectidentifier">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq_-objectidentifier-y_-objectidentifier">func ==(<wbr>_:<wbr> ObjectIdentifier, y: ObjectIdentifier)</a>
        
<div class="comment collapse" id="comment-func-eqeq_-objectidentifier-y_-objectidentifier"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==(x: ObjectIdentifier, y: ObjectIdentifier) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-base_-collectiontype_-filtercollectionviewindex-base-rhs_-filtercollectionviewindex-base">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-base_-collectiontype_-filtercollectionviewindex-base-rhs_-filtercollectionviewindex-base">func <wbr>== &lt;Base : CollectionType&gt;(<wbr>_:<wbr> FilterCollectionViewIndex&lt;Base&gt;, rhs: FilterCollectionViewIndex&lt;Base&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-base_-collectiontype_-filtercollectionviewindex-base-rhs_-filtercollectionviewindex-base"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;Base : CollectionType&gt;(lhs: FilterCollectionViewIndex&lt;Base&gt;, rhs: FilterCollectionViewIndex&lt;Base&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-i_-concatenatebidirectionalindex-i-rhs_-concatenatebidirectionalindex-i">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-i_-concatenatebidirectionalindex-i-rhs_-concatenatebidirectionalindex-i">func == &lt;I&gt;(<wbr>_:<wbr> _ConcatenateBidirectionalIndex&lt;I&gt;, rhs: _ConcatenateBidirectionalIndex&lt;I&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-i_-concatenatebidirectionalindex-i-rhs_-concatenatebidirectionalindex-i"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;I&gt;(lhs: _ConcatenateBidirectionalIndex&lt;I&gt;, rhs: _ConcatenateBidirectionalIndex&lt;I&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-i_-concatenateforwardindex-i-rhs_-concatenateforwardindex-i">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-i_-concatenateforwardindex-i-rhs_-concatenateforwardindex-i">func == &lt;I&gt;(<wbr>_:<wbr> _ConcatenateForwardIndex&lt;I&gt;, rhs: _ConcatenateForwardIndex&lt;I&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-i_-concatenateforwardindex-i-rhs_-concatenateforwardindex-i"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;I&gt;(lhs: _ConcatenateForwardIndex&lt;I&gt;, rhs: _ConcatenateForwardIndex&lt;I&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-i_-reversebidirectionalindex-i-rhs_-reversebidirectionalindex-i">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-i_-reversebidirectionalindex-i-rhs_-reversebidirectionalindex-i">func == &lt;I&gt;(<wbr>_:<wbr> ReverseBidirectionalIndex&lt;I&gt;, rhs: ReverseBidirectionalIndex&lt;I&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-i_-reversebidirectionalindex-i-rhs_-reversebidirectionalindex-i"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;I&gt;(lhs: ReverseBidirectionalIndex&lt;I&gt;, rhs: ReverseBidirectionalIndex&lt;I&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-i_-reverserandomaccessindex-i-rhs_-reverserandomaccessindex-i">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-i_-reverserandomaccessindex-i-rhs_-reverserandomaccessindex-i">func == &lt;I&gt;(<wbr>_:<wbr> ReverseRandomAccessIndex&lt;I&gt;, rhs: ReverseRandomAccessIndex&lt;I&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-i_-reverserandomaccessindex-i-rhs_-reverserandomaccessindex-i"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;I&gt;(lhs: ReverseRandomAccessIndex&lt;I&gt;, rhs: ReverseRandomAccessIndex&lt;I&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-key_-equatable-value_-equatable_-key_-value-rhs_-key_-value">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-key_-equatable-value_-equatable_-key_-value-rhs_-key_-value">func <wbr>== &lt;Key :<wbr> Equatable, Value : Equatable&gt;(<wbr>_:<wbr> [Key :<wbr> Value], rhs:<wbr> [Key : Value])</a>
        
<div class="comment collapse" id="comment-func-eqeq-key_-equatable-value_-equatable_-key_-value-rhs_-key_-value"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;Key : Equatable, Value : Equatable&gt;(lhs: [Key : Value], rhs: [Key : Value]) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-key_-hashable-value_-dictionaryindex-key-value-rhs_-dictionaryindex-key-value">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-key_-hashable-value_-dictionaryindex-key-value-rhs_-dictionaryindex-key-value">func <wbr>== &lt;Key : Hashable, Value&gt;(<wbr>_:<wbr> DictionaryIndex&lt;Key, Value&gt;, rhs: DictionaryIndex&lt;Key, Value&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-key_-hashable-value_-dictionaryindex-key-value-rhs_-dictionaryindex-key-value"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;Key : Hashable, Value&gt;(lhs: DictionaryIndex&lt;Key, Value&gt;, rhs: DictionaryIndex&lt;Key, Value&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-rawoptionsettype_-t-b_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-rawoptionsettype_-t-b_-t">func <wbr>== &lt;T : _RawOptionSetType&gt;(<wbr>_:<wbr> T, b: T)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-rawoptionsettype_-t-b_-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : _RawOptionSetType&gt;(a: T, b: T) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-strideable_-t-y_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-strideable_-t-y_-t">func <wbr>== &lt;T : _Strideable&gt;(<wbr>_:<wbr> T, y: T)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-strideable_-t-y_-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : _Strideable&gt;(x: T, y: T) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-comparable_-closedinterval-t-rhs_-closedinterval-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-comparable_-closedinterval-t-rhs_-closedinterval-t">func <wbr>== &lt;T : Comparable&gt;(<wbr>_:<wbr> ClosedInterval&lt;T&gt;, rhs: ClosedInterval&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-comparable_-closedinterval-t-rhs_-closedinterval-t"><div class="p">
    <p>Two <code>ClosedInterval</code>s are equal if their <code>start</code> and <code>end</code> are
equal</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Comparable&gt;(lhs: ClosedInterval&lt;T&gt;, rhs: ClosedInterval&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-comparable_-halfopeninterval-t-rhs_-halfopeninterval-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-comparable_-halfopeninterval-t-rhs_-halfopeninterval-t">func <wbr>== &lt;T : Comparable&gt;(<wbr>_:<wbr> HalfOpenInterval&lt;T&gt;, rhs: HalfOpenInterval&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-comparable_-halfopeninterval-t-rhs_-halfopeninterval-t"><div class="p">
    <p>Two <code>HalfOpenInterval</code>s are equal if their <code>start</code> and <code>end</code> are
equal</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Comparable&gt;(lhs: HalfOpenInterval&lt;T&gt;, rhs: HalfOpenInterval&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-equatable_-t-rhs_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-equatable_-t-rhs_-t">func <wbr>== &lt;T : Equatable&gt;(<wbr>_:<wbr> [T], rhs: [T])</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-equatable_-t-rhs_-t"><div class="p">
    <p>Returns true if these arrays contain the same elements.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Equatable&gt;(lhs: [T], rhs: [T]) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-equatable_-unittestarray-t-rhs_-unittestarray-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-equatable_-unittestarray-t-rhs_-unittestarray-t">func <wbr>== &lt;T : Equatable&gt;(<wbr>_:<wbr> _UnitTestArray&lt;T&gt;, rhs: _UnitTestArray&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-equatable_-unittestarray-t-rhs_-unittestarray-t"><div class="p">
    <p>Returns true if these arrays contain the same elements.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Equatable&gt;(lhs: _UnitTestArray&lt;T&gt;, rhs: _UnitTestArray&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-equatable_-arrayslice-t-rhs_-arrayslice-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-equatable_-arrayslice-t-rhs_-arrayslice-t">func <wbr>== &lt;T : Equatable&gt;(<wbr>_:<wbr> ArraySlice&lt;T&gt;, rhs: ArraySlice&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-equatable_-arrayslice-t-rhs_-arrayslice-t"><div class="p">
    <p>Returns true if these arrays contain the same elements.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Equatable&gt;(lhs: ArraySlice&lt;T&gt;, rhs: ArraySlice&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-equatable_-contiguousarray-t-rhs_-contiguousarray-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-equatable_-contiguousarray-t-rhs_-contiguousarray-t">func <wbr>== &lt;T : Equatable&gt;(<wbr>_:<wbr> ContiguousArray&lt;T&gt;, rhs: ContiguousArray&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-equatable_-contiguousarray-t-rhs_-contiguousarray-t"><div class="p">
    <p>Returns true if these arrays contain the same elements.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Equatable&gt;(lhs: ContiguousArray&lt;T&gt;, rhs: ContiguousArray&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-equatable_-t-rhs_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-equatable_-t-rhs_-t">func <wbr>== &lt;T : Equatable&gt;(<wbr>_:<wbr> T?, rhs: T?)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-equatable_-t-rhs_-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Equatable&gt;(lhs: T?, rhs: T?) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-hashable_-set-t-rhs_-set-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-hashable_-set-t-rhs_-set-t">func <wbr>== &lt;T : Hashable&gt;(<wbr>_:<wbr> Set&lt;T&gt;, rhs: Set&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-hashable_-set-t-rhs_-set-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Hashable&gt;(lhs: Set&lt;T&gt;, rhs: Set&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-hashable_-setindex-t-rhs_-setindex-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-hashable_-setindex-t-rhs_-setindex-t">func <wbr>== &lt;T : Hashable&gt;(<wbr>_:<wbr> SetIndex&lt;T&gt;, rhs: SetIndex&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-hashable_-setindex-t-rhs_-setindex-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T : Hashable&gt;(lhs: SetIndex&lt;T&gt;, rhs: SetIndex&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-optionalnilcomparisontype-rhs_-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-optionalnilcomparisontype-rhs_-t">func == &lt;T&gt;(<wbr>_:<wbr> _OptionalNilComparisonType, rhs: T?)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-optionalnilcomparisontype-rhs_-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T&gt;(lhs: _OptionalNilComparisonType, rhs: T?) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-autoreleasingunsafemutablepointer-t-rhs_-autoreleasingunsafemutablepointer-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-autoreleasingunsafemutablepointer-t-rhs_-autoreleasingunsafemutablepointer-t">func == &lt;T&gt;(<wbr>_:<wbr> AutoreleasingUnsafeMutablePointer&lt;T&gt;, rhs: AutoreleasingUnsafeMutablePointer&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-autoreleasingunsafemutablepointer-t-rhs_-autoreleasingunsafemutablepointer-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T&gt;(lhs: AutoreleasingUnsafeMutablePointer&lt;T&gt;, rhs: AutoreleasingUnsafeMutablePointer&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-cfunctionpointer-t-rhs_-cfunctionpointer-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-cfunctionpointer-t-rhs_-cfunctionpointer-t">func == &lt;T&gt;(<wbr>_:<wbr> CFunctionPointer&lt;T&gt;, rhs: CFunctionPointer&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-cfunctionpointer-t-rhs_-cfunctionpointer-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T&gt;(lhs: CFunctionPointer&lt;T&gt;, rhs: CFunctionPointer&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-range-t-rhs_-range-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-range-t-rhs_-range-t">func == &lt;T&gt;(<wbr>_:<wbr> Range&lt;T&gt;, rhs: Range&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-range-t-rhs_-range-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T&gt;(lhs: Range&lt;T&gt;, rhs: Range&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-t-rhs_-optionalnilcomparisontype">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-t-rhs_-optionalnilcomparisontype">func == &lt;T&gt;(<wbr>_:<wbr> T?, rhs: _OptionalNilComparisonType)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-t-rhs_-optionalnilcomparisontype"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T&gt;(lhs: T?, rhs: _OptionalNilComparisonType) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-unsafemutablepointer-t-rhs_-unsafemutablepointer-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-unsafemutablepointer-t-rhs_-unsafemutablepointer-t">func == &lt;T&gt;(<wbr>_:<wbr> UnsafeMutablePointer&lt;T&gt;, rhs: UnsafeMutablePointer&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-unsafemutablepointer-t-rhs_-unsafemutablepointer-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T&gt;(lhs: UnsafeMutablePointer&lt;T&gt;, rhs: UnsafeMutablePointer&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-t_-unsafepointer-t-rhs_-unsafepointer-t">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-t_-unsafepointer-t-rhs_-unsafepointer-t">func == &lt;T&gt;(<wbr>_:<wbr> UnsafePointer&lt;T&gt;, rhs: UnsafePointer&lt;T&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-t_-unsafepointer-t-rhs_-unsafepointer-t"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;T&gt;(lhs: UnsafePointer&lt;T&gt;, rhs: UnsafePointer&lt;T&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-eqeq-value-element_-managedbufferpointer-value-element-rhs_-managedbufferpointer-value-element">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-eqeq-value-element_-managedbufferpointer-value-element-rhs_-managedbufferpointer-value-element">func == &lt;Value, Element&gt;(<wbr>_:<wbr> ManagedBufferPointer&lt;Value, Element&gt;, rhs: ManagedBufferPointer&lt;Value, Element&gt;)</a>
        
<div class="comment collapse" id="comment-func-eqeq-value-element_-managedbufferpointer-value-element-rhs_-managedbufferpointer-value-element"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func ==&lt;Value, Element&gt;(lhs: ManagedBufferPointer&lt;Value, Element&gt;, rhs: ManagedBufferPointer&lt;Value, Element&gt;) -&gt; Bool</code>
    
    
</div></div>
</div>
